package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.ProductExample.E_IS_PRINCIPAL;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_COVER;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_INTRODUCE;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_NAME;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_SERVICE_CHARGE;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_TAG;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_TYPE_ID;
import static org.jsola.hr.example.ProductExample.E_PRODUCT_URL;
import static org.jsola.hr.example.ProductExample.N_IS_PRINCIPAL;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_COVER;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_INTRODUCE;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_NAME;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_SERVICE_CHARGE;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_TAG;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_TYPE_ID;
import static org.jsola.hr.example.ProductExample.N_PRODUCT_URL;

/**
 * 产品
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【产品】列表展示对象")
@Data
public class ProductListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_PRODUCT_TYPE_ID, example = E_PRODUCT_TYPE_ID)
    private String productTypeId;

    @ApiModelProperty(notes = N_PRODUCT_NAME, example = E_PRODUCT_NAME)
    private String productName;

    @ApiModelProperty(notes = N_IS_PRINCIPAL, example = E_IS_PRINCIPAL)
    private Boolean isPrincipal;

    @ApiModelProperty(notes = N_PRODUCT_TAG, example = E_PRODUCT_TAG)
    private String productTag;

    @ApiModelProperty(notes = N_PRODUCT_INTRODUCE, example = E_PRODUCT_INTRODUCE)
    private String productIntroduce;

    @ApiModelProperty(notes = N_PRODUCT_SERVICE_CHARGE, example = E_PRODUCT_SERVICE_CHARGE)
    private String productServiceCharge;

    @ApiModelProperty(notes = N_PRODUCT_URL, example = E_PRODUCT_URL)
    private String productUrl;

    @ApiModelProperty(notes = N_PRODUCT_COVER, example = E_PRODUCT_COVER)
    private String productCover;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "是否设置成Banner")
    private Boolean isBanner;

}

